import type { ProColumnsTypes } from '@vh-admin/pro-components/lib/t-table-custom/types';
export const columnsFn = (): ProColumnsTypes<any>[] => {
  return [
    {
      title: '名称',
      dataIndex: 'name',
      search: false,
      formItemProps: { rules: [{ required: true }] },
      fieldProps: { maxLength: 20 },
    },
  ];
};
